package org.rk.core.domain.domain;

import java.sql.Timestamp;

import javax.validation.constraints.NotNull;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.anno.TableMeta;
import org.rk.core.common.bean.BaseBean;


@TableMeta(name = "core_domain", catalog = "rk_user_manage")
public class CoreDomain extends BaseBean{

	private static final long serialVersionUID = 1L;
	@NotNull
	@FieldMeta(isUnique=true,name="domainName",length=200,desc="站点域名")
	private String domainName;
	@FieldMeta(name="name",length=200,desc="站点名称")
	private String name;
	@FieldMeta(name="ownerType",length=2,desc="拥有者类型，单位或个人")
	private String ownerType;
	@NotNull
	@FieldMeta(name="ownerNum",length=20,desc="拥有用户会员号")
	private String ownerNum;
	@FieldMeta(name="ownDate",length=19,desc="获得拥有权时间")
	private Timestamp ownDate;
	@NotNull
	@FieldMeta(name="isvalid",length=2,desc="")
	private int isvalid;
	@FieldMeta(name="commonts",length=255,desc="")
	private String commonts;
	@FieldMeta(name="keywords",length=255,desc="")
	private String keywords;
	@FieldMeta(name="bottomScript",length=21845,desc="")
	private String bottomScript;
	@FieldMeta(name="description",length=255,desc="")
	private String description;
	@FieldMeta(name="copyright",length=255,desc="")
	private String copyright;
	@NotNull
	@FieldMeta(name="showSupport",length=2,desc="")
	private int showSupport;

	public void setDomainName(String domainName){
		this.domainName=domainName;
	}

	public String getDomainName(){
		return domainName;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}
	public String getOwnerType() {
		return ownerType;
	}

	public void setOwnerType(String ownerType) {
		this.ownerType = ownerType;
	}

	public String getOwnerNum() {
		return ownerNum;
	}

	public void setOwnerNum(String ownerNum) {
		this.ownerNum = ownerNum;
	}

	public void setOwnDate(Timestamp ownDate){
		this.ownDate=ownDate;
	}

	public Timestamp getOwnDate(){
		return ownDate;
	}

	public void setIsvalid(int isvalid){
		this.isvalid=isvalid;
	}

	public int getIsvalid(){
		return isvalid;
	}

	public void setCommonts(String commonts){
		this.commonts=commonts;
	}

	public String getCommonts(){
		return commonts;
	}

	public void setKeywords(String keywords){
		this.keywords=keywords;
	}

	public String getKeywords(){
		return keywords;
	}

	public void setBottomScript(String bottomScript){
		this.bottomScript=bottomScript;
	}

	public String getBottomScript(){
		return bottomScript;
	}

	public void setDescription(String description){
		this.description=description;
	}

	public String getDescription(){
		return description;
	}

	public void setCopyright(String copyright){
		this.copyright=copyright;
	}

	public String getCopyright(){
		return copyright;
	}

	public void setShowSupport(int showSupport){
		this.showSupport=showSupport;
	}

	public int getShowSupport(){
		return showSupport;
	}

}
